package com.sgb.kjwl.model.entity.transport;


import android.text.TextUtils;

import com.sgb.kjwl.model.entity.transport.common.DiyFieldEntity;

import java.util.List;

public class GoodsDetailInfo {

    /**
     * addField :
     * address : 山西省晋城市沁水县123
     * carLenName : 6.7米
     * carLenNo : 20200813528960
     * carModelName : 低栏
     * carModelNo : 2
     * cityName : 天津市
     * cityNo : 120100
     * companyName : 福州
     * companyNo : 202009272465877
     * contrcts : 马春慧子
     * contrctsNumber : 17699051916
     * destCityName : 乌鲁木齐市
     * destCityNo : 650100
     * destDetailAddress : 新疆维吾尔自治区乌鲁木齐市水磨沟区南湖南路街道乌鲁木齐市人民政府
     * destDistrictName : 水磨沟区
     * destDistrictNo : 650105
     * destProvinceName : 新疆维吾尔自治区
     * destProvinceNo : 650000
     * detailAddress :
     * districtName : 河东区
     * districtNo : 120102
     * endTime : 1603382399000
     * freight : 100.0
     * goodsModeNo : 202008182823301
     * goodsModelName : 粮油
     * goodsSourceLogs : [{"action":"发布","createTime":1601288782809,"createUser":"202009278080397","goodsSourceNo":"202009287892493","id":6,"isDeleted":0,"no":"202009286603372","remember_me":"","updateTime":1601288782809,"updateUser":"202009278080397","userName":"马春慧子","userNo":"202009278080397"}]
     * handleTypeName :
     * handleTypeNo :
     * heightHurdle : 10
     * id : 797
     * invoice : 1
     * isDump : 1
     * isReception : 0
     * latitude : 39.128292
     * longitude : 117.25159
     * no : 202009287892493
     * note :
     * pattern : 1
     * payType : 收货人支付（到付）
     * provinceName : 天津
     * provinceNo : 120000
     * qualification :
     * registerTime : 1601202451758
     * shipmentEndTime : 1602604800000
     * shipmentTime : 1601395200000
     * state : 0
     * transportType : 0
     * updateTime : 1601288782560
     * weight : 100.0
     */

    private String addField;
    private String address;
    private String carLenName;
    private String carLenNo;
    private String carModelName;
    private String carModelNo;
    private String cityName="";
    private String cityNo;
    private String companyName;
    private String companyNo;
    private String contrcts;
    private String contrctsNumber;
    private String destCityName="";
    private String destCityNo;
    private String destDetailAddress;
    private String destDistrictName="";
    private String destDistrictNo;
    private String destProvinceName="";
    private String destProvinceNo;
    private String detailAddress;
    private String districtName="";
    private String districtNo;
    private long endTime;
    private String freight;
    private String goodsModeNo;
    private String goodsModelName;
    private String handleTypeName;
    private String handleTypeNo;
    private String heightHurdle;
    private int id;
    private String invoice;
    private Integer isDump;
    private int isReception;
    private double latitude;
    private double longitude;
    private String no;
    private String note;
    private int pattern;
    private String payType;
    private String provinceName="";
    private String provinceNo;
    private String qualification;
    private long registerTime;
    private long shipmentEndTime;
    private long shipmentTime;
    private int state;
    private int transportType;
    private long updateTime;
    private double weight;
    private String imAccount;
    private String imToken;
    private String contrctsImAccount;
    private String messagePrice,lastFreight,lastMessagePrice;
    List<DiyFieldEntity> diyField;

    public String getContrctsImAccount() {
        return contrctsImAccount;
    }

    public void setContrctsImAccount(String contrctsImAccount) {
        this.contrctsImAccount = contrctsImAccount;
    }

    public List<DiyFieldEntity> getDiyField() {
        return diyField;
    }

    public void setDiyField(List<DiyFieldEntity> diyField) {
        this.diyField = diyField;
    }

    public String getMessagePrice() {
        return TextUtils.isEmpty(messagePrice)?"0":messagePrice;
    }

    public void setMessagePrice(String messagePrice) {
        this.messagePrice = messagePrice;
    }

    public String getLastFreight() {
        return lastFreight;
    }

    public void setLastFreight(String lastFreight) {
        this.lastFreight = lastFreight;
    }

    public String getLastMessagePrice() {
        return TextUtils.isEmpty(lastMessagePrice)?"0":lastMessagePrice;
    }

    public void setLastMessagePrice(String lastMessagePrice) {
        this.lastMessagePrice = lastMessagePrice;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    public String getImToken() {
        return imToken;
    }

    public void setImToken(String imToken) {
        this.imToken = imToken;
    }

    private List<GoodsSourceLogsBean> goodsSourceLogs;

    public String getAddField() {
        return addField;
    }

    public void setAddField(String addField) {
        this.addField = addField;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getCarLenNo() {
        return carLenNo;
    }

    public void setCarLenNo(String carLenNo) {
        this.carLenNo = carLenNo;
    }

    public String getCarModelName() {
        return carModelName;
    }

    public void setCarModelName(String carModelName) {
        this.carModelName = carModelName;
    }

    public String getCarModelNo() {
        return carModelNo;
    }

    public void setCarModelNo(String carModelNo) {
        this.carModelNo = carModelNo;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getContrcts() {
        return contrcts;
    }

    public void setContrcts(String contrcts) {
        this.contrcts = contrcts;
    }

    public String getContrctsNumber() {
        return contrctsNumber;
    }

    public void setContrctsNumber(String contrctsNumber) {
        this.contrctsNumber = contrctsNumber;
    }

    public String getDestCityName() {
        return destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDestCityNo() {
        return destCityNo;
    }

    public void setDestCityNo(String destCityNo) {
        this.destCityNo = destCityNo;
    }

    public String getDestDetailAddress() {
        return destDetailAddress;
    }

    public void setDestDetailAddress(String destDetailAddress) {
        this.destDetailAddress = destDetailAddress;
    }

    public String getDestDistrictName() {
        return destDistrictName;
    }

    public void setDestDistrictName(String destDistrictName) {
        this.destDistrictName = destDistrictName;
    }

    public String getDestDistrictNo() {
        return destDistrictNo;
    }

    public void setDestDistrictNo(String destDistrictNo) {
        this.destDistrictNo = destDistrictNo;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public String getDestProvinceNo() {
        return destProvinceNo;
    }

    public void setDestProvinceNo(String destProvinceNo) {
        this.destProvinceNo = destProvinceNo;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getGoodsModeNo() {
        return goodsModeNo;
    }

    public void setGoodsModeNo(String goodsModeNo) {
        this.goodsModeNo = goodsModeNo;
    }

    public String getGoodsModelName() {
        return goodsModelName;
    }

    public void setGoodsModelName(String goodsModelName) {
        this.goodsModelName = goodsModelName;
    }

    public String getHandleTypeName() {
        return handleTypeName;
    }

    public void setHandleTypeName(String handleTypeName) {
        this.handleTypeName = handleTypeName;
    }

    public String getHandleTypeNo() {
        return handleTypeNo;
    }

    public void setHandleTypeNo(String handleTypeNo) {
        this.handleTypeNo = handleTypeNo;
    }

    public String getHeightHurdle() {
        return heightHurdle;
    }

    public void setHeightHurdle(String heightHurdle) {
        this.heightHurdle = heightHurdle;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public Integer getIsDump() {
        return isDump;
    }

    public void setIsDump(Integer isDump) {
        this.isDump = isDump;
    }

    public int getIsReception() {
        return isReception;
    }

    public void setIsReception(int isReception) {
        this.isReception = isReception;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public int getPattern() {
        return pattern;
    }

    public void setPattern(int pattern) {
        this.pattern = pattern;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getQualification() {
        return qualification;
    }

    public void setQualification(String qualification) {
        this.qualification = qualification;
    }

    public long getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(long registerTime) {
        this.registerTime = registerTime;
    }

    public long getShipmentEndTime() {
        return shipmentEndTime;
    }

    public void setShipmentEndTime(long shipmentEndTime) {
        this.shipmentEndTime = shipmentEndTime;
    }

    public long getShipmentTime() {
        return shipmentTime;
    }

    public void setShipmentTime(long shipmentTime) {
        this.shipmentTime = shipmentTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getTransportType() {
        return transportType;
    }

    public void setTransportType(int transportType) {
        this.transportType = transportType;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public List<GoodsSourceLogsBean> getGoodsSourceLogs() {
        return goodsSourceLogs;
    }

    public void setGoodsSourceLogs(List<GoodsSourceLogsBean> goodsSourceLogs) {
        this.goodsSourceLogs = goodsSourceLogs;
    }

    public static class GoodsSourceLogsBean {
        /**
         * action : 发布
         * createTime : 1601288782809
         * createUser : 202009278080397
         * goodsSourceNo : 202009287892493
         * id : 6
         * isDeleted : 0
         * no : 202009286603372
         * remember_me :
         * updateTime : 1601288782809
         * updateUser : 202009278080397
         * userName : 马春慧子
         * userNo : 202009278080397
         */

        private String action;
        private long createTime;
        private String createUser;
        private String goodsSourceNo;
        private int id;
        private int isDeleted;
        private String no;
        private String remember_me;
        private long updateTime;
        private String updateUser;
        private String userName;
        private String userNo;

        public String getAction() {
            return action;
        }

        public void setAction(String action) {
            this.action = action;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getGoodsSourceNo() {
            return goodsSourceNo;
        }

        public void setGoodsSourceNo(String goodsSourceNo) {
            this.goodsSourceNo = goodsSourceNo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getIsDeleted() {
            return isDeleted;
        }

        public void setIsDeleted(int isDeleted) {
            this.isDeleted = isDeleted;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getRemember_me() {
            return remember_me;
        }

        public void setRemember_me(String remember_me) {
            this.remember_me = remember_me;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserNo() {
            return userNo;
        }

        public void setUserNo(String userNo) {
            this.userNo = userNo;
        }
    }
}
